.login {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("~@/assets/image/login.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: #cccccc;
    position: relative;
    &-bg {
        width: 100%;
        height: 99%;
    }
    &-logo {
        text-align: center;
        padding: 20px 0 10px;
        img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
            transition: all 0.3s ease;
            &:hover {
                transform: scale(1.05);
                box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
            }
        }
    }
    &-box {
        width: 380px;
        background: hsla(0, 0%, 100%, 0.3);
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        overflow: hidden;
        transition: all 0.3s ease;
        &:hover {
            box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
        }
        &-title {
            line-height: 50px;
            font-size: 22px;
            font-weight: bold;
            color: #ffffff;
            display: flex;
            justify-content: center;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.3);
            text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
            margin-bottom: 10px;
        }
        &-from {
            width: 100%;
            height: auto;
            padding: 20px 30px 30px;
            box-sizing: border-box;
            .el-form-item {
                margin-bottom: 20px;
            }
            .el-input__inner {
                background-color: rgba(255, 255, 255, 0.7);
                border: none;
                height: 42px;
                transition: all 0.3s;
                &:focus {
                    background-color: rgba(255, 255, 255, 0.9);
                    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
                }
            }
            .el-button--primary,
            .login-button {
                height: 42px;
                font-size: 16px;
                border-radius: 4px;
                transition: all 0.3s;
                background: linear-gradient(45deg, #1989fa, #39AFFD);
                border: none;
                letter-spacing: 2px;
                &:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
                    background: linear-gradient(45deg, #39AFFD, #1989fa);
                }
                &:active {
                    transform: translateY(0);
                    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
                }
            }
            .el-icon-key {
                cursor: pointer;
            }
            .login-code {
                cursor: pointer;
                height: 38px;
            }
        }
    }
    .agreement {
        font-size: 12px;
    }
}